package com.yhy.wxzn.wms.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.yhy.wxzn.wms.entity.WmsInboundDetail;
import com.yhy.wxzn.wms.mapper.WmsInboundDetailMapper;
import com.yhy.wxzn.wms.service.IWmsInboundDetailService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 入库配置详情
 * @Author: jeecg-boot
 * @Date:   2023-11-03
 * @Version: V1.0
 */
@Service
public class WmsInboundDetailServiceImpl extends ServiceImpl<WmsInboundDetailMapper, WmsInboundDetail> implements IWmsInboundDetailService {

    @Override
    public List<WmsInboundDetail> findWmsInboundDetailByConfigId(String id) {
        LambdaQueryWrapper<WmsInboundDetail> wrapper = new LambdaQueryWrapper<>();
        wrapper.eq(WmsInboundDetail::getInboundId,id);
        return list(wrapper);
    }
}
